﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    public class Administrators
    {
        [Key]
        [Required]
        public int IdAdministrator { get; set; }
        [Required]
        public string TenAdministrator { get; set; }
        [Required]
        [DataType(DataType.Password)]
        public string MatKhau { get; set; }
        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email { get; set; }
        [Required]
        public DateTime NgayTao { get; set; }
        [Required]
        public bool HoatDong { get; set; }
        [Required]
        public string SoDienThoai { get; set; }

        
    }
}